package com.tqfframe.task.learning.annotations;

import java.util.concurrent.ConcurrentHashMap;

/**
 * Created by Tang-QiFeng on 2020/7/18
 */
public class RegistHandlerJobMap {

    public static ConcurrentHashMap<String,JobHandlerEntry> jobHandlerMap=new ConcurrentHashMap<>();

    public static void putJobHandlerMap(String name,JobHandlerEntry jobHandlerEntry){
        jobHandlerMap.put(name,jobHandlerEntry);
    }

    public static JobHandlerEntry getJobHandlerEntry(String name){
        return jobHandlerMap.get(name);
    }


}
